//import axios from '../axios'
import request from '@/utils/request'

/* 
 * 图库接口
 */


// 执行Cypher查询
export const getCypherResult = (params) => {
    return request({
        url: 'graph/getCypherResult',
        method: 'get',
        params
    })
}

// 查询图节点和关系
export const getDomainGraph = (params) => {
    return request({
        url: 'graph/getDomainGraph',
        method: 'get',
        params
    })
}
